package com.work.farm;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@MapperScan(basePackages = "com.work.farm.dao")
@EnableFeignClients(basePackages = {"com.work.crops.feign","com.work.device.feign"})
public class FarmApplication {
    public static void main(String[] args) {
        SpringApplication.run(FarmApplication.class,args);
    }
}
